﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Cosmetic.Logic;

namespace WebApp.Controls
{
    public partial class SaleADLeft : System.Web.UI.UserControl
    {
        string strAD = string.Empty;

        /// <summary>
        /// 广告的内容。
        /// </summary>
        public string StringAd
        {
            get { return strAD; }
            set { strAD = value; }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
          
                this.ListView1.DataSource = SaleAndSearchAdManager.GetThePicturePath(StringAd);
                this.ListView1.DataBind();   
        }
    }
}